#include "mainwindow.h"
#include <QApplication>
#include <QTextCodec>
#include <QString>
#include <QByteArray>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MainWindow w;
    QByteArray encodedString = "...";
    QTextCodec *codec = QTextCodec::codecForName("UTF-8");
    QString string = codec->toUnicode(encodedString);
    w.show();

    return a.exec();
}
